Automating The Scanning Electron Microscope